<template>
  <div :class="classes">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "TabContentItem",
  props: {
    selected: Boolean
  },
  computed: {
    classes() {
      return [
        "layui-tab-item",
        {
          "layui-show": !!this.selected
        }
      ];
    }
  }
};
</script>

<style scoped>

</style>